package com.imageloader.interfaces;

import android.graphics.drawable.Drawable;

import androidx.annotation.Nullable;

import java.io.File;

/**
 * @describe
 * @author: lixiaopeng
 * @Date: 2019-06-14
 */
public final class ImgLoadListener {

    public interface DisplayListener{
        default void success(@Nullable Drawable drawable){}
        default void fail(@Nullable Exception e){}
    }

    public interface LoadListener{
       default void success(@Nullable File file){}
       default void fail(@Nullable Exception e){}
    }

}
